package com.woniuxy.cloud.carl.store.client.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ModifyStoreParam {
    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 店铺名
     */
    private String storeName;

    /**
     * 店铺电话
     */
    private String storePhone;

    /**
     * 店铺logo
     */
    private String logo;

    /**
     * 店铺公告
     */
    private String notice;

    /**
     * 店铺简介
     */
    private String introduce;

    /**
     * 开始营业时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss")
    private Date startTime;

    /**
     * 结束营业时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss")
    private Date endTime;
}
